@import "./common.less";

html,
body {
    width: 100%;
    height: 100%;
    min-width: 1000px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

#app {
    width: 100%;
    height: 100%;
}

a {
    text-decoration: none;
}

a:hover {
    color: #ff0000;
}

.upload-list {
    display: inline-block;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 0px;
    overflow: hidden;
    background: #fff;
    position: relative;
    margin-right: 4px;
}

.upload-list img {
    width: 100%;
    height: 100%;
}

.upload-list-cover {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
}

.ivu-upload-drag {
    border: 0px dashed #dcdee2;
}

.ivu-upload-drag:hover {
    border: 0px dashed #2d8cf0;
}

.upload-list:hover .upload-list-cover {
    display: block;
}

.upload-list-cover i {
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    margin: 0 4px;
}

.footer {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    justify-content: center;
    background-color: #fff;
    z-index: 10;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
}

.el-table .warning-row {
    background: #f2dada;
}

.el-pagination {
    justify-content: center;
}

.el-drawer__header {
    padding: 0;
    margin: 10px 5px 10px 20px;
}
.el-drawer__title {
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}
.el-drawer__body {
    padding: 5px;
    margin: 0;
}

.el-card__header {
    padding: 0;
    margin: 0;
}
.el-card__body {
    padding: 5px;
    margin: 0;
}
.el-checkbox-group {
    font-size: 14px;
    line-height: 20px;
}

.el-form-item {
    margin-bottom: 18px;
}

.table-margin {
    margin-top: -8px;
}

/* debug 使用 */
.border-red {
    border: 1px #ff0000 solid;
}
.border-green {
    border: 1px #00ff00 solid;
}
.border-blue {
    border: 1px #0000ff solid;
}
